#ifndef FILESHARINGPROCESS_H_
#define FILESHARINGPROCESS_H_

#include <string>
#include <list>
#include "Process.h"
#include "SharedFile.h"

class FileSharingProcess: public Process {

private:
	bool isExclusion;
	bool cleanAll;
	string fifoName;
	list<string> files;

public:
	FileSharingProcess(LogFile* logFile);
	virtual ~FileSharingProcess();

	void setFiles(list<string> files);
	void setIsExclusion(bool isExclusion);
	void setRequestFifoName(string fifoName);
	void setCleanAll(bool cleanAll);

protected:
	virtual int doWork();
	virtual string getProcessName();
};

#endif /* FILESHARINGPROCESS_H_ */
